package com.example.netty.bio.servlet;

import com.example.netty.bio.GPRequest;
import com.example.netty.bio.GPResponse;
import com.example.netty.tomcat.http.GPServlet;

/**
 * @author gorkr
 * @date 2022/07/21 10:45
 **/
public class SecondServlet extends GPServlet {
    @Override
    public void doGet(GPRequest request, GPResponse response) throws Exception {
        doPost(request,response);
    }

    @Override
    public void doPost(GPRequest request, GPResponse response) throws Exception {
        response.write("this is second servlet");
    }
}
    